package com.longe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.longe.common.Result;
import com.longe.entity.FriendRequest;
import com.longe.entity.vo.FriendRequestVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author longe
 * @since 2020-05-23
 */
public interface FriendRequestService extends IService<FriendRequest> {

    Result<Object> friendRequest(FriendRequest friendReq);

    Result<List<FriendRequestVO>> listFriendRequest(Integer userId);

    Result<Object> friendRequestAccept(Integer reqId);

    Result<Object> friendRequestReject(Integer reqId);
}
